import Layout from '@/layout'

const faniManageRouter = {
  path: '/faniManage',
  component: Layout,
  name: 'faniManage',
  meta: {
    title: '财务管理',
    icon: 'edit'
  },
  children: [{
      path: 'techQuery',
      name: 'techQuery',
      component: () => import('@/views/FaniManage/techQuery/index.vue'),
      meta: {
        title: '技术服务年费管理'
      },
      children: [{
          path: 'pay',
          component: () => import('@/views/FaniManage/techQuery/techPay.vue'),
          name: 'pay',
          meta: {
            title: '收款管理'
          }
        },
        {
          path: 'payback',
          component: () => import('@/views/FaniManage/techQuery/techBack.vue'),
          name: 'payback',
          meta: {
            title: '退款管理'
          }
        },
        {
          path: 'techSetting',
          component: () => import('@/views/FaniManage/techSetting.vue'),
          name: 'techSetting',
          meta: {
            title: '配置管理'
          }
        },
      ]
    },
    {
      path: 'Dividend',
      name: 'Dividend',
      component: () => import('@/views/FaniManage/Dividend/index.vue'),
      meta: {
        title: '服务商分红'
      },
      children: [{
          path: 'Configuration',
          component: () => import('@/views/FaniManage/Dividend/Configuration.vue'),
          name: 'Configuration',
          meta: {
            title: '服务商分红配置'
          }
        },
        {
          path: 'Statement',
          component: () => import('@/views/FaniManage/Dividend/Statement.vue'),
          name: 'Statement',
          meta: {
            title: '服务商分红报表'
          }
        },
      ]
    },
    {
      path: 'manageSetting',
      component: () => import('@/views/FaniManage/manageSetting.vue'),
      name: 'manageSetting',
      meta: {
        title: '技术服务费配置'
      }
    },
    {
      path: 'platformFee',
      component: () => import('@/views/FaniManage/platformFee.vue'),
      name: 'platformFee',
      meta: {
        title: '平台管理费用'
      }
    },
    {
      path: 'cashSetting',
      component: () => import('@/views/FaniManage/cashSetting.vue'),
      name: 'cashSetting',
      meta: {
        title: '提现配置'
      }
    },
    {
      path: 'accountSetting',
      component: () => import('@/views/FaniManage/accountSetting.vue'),
      name: 'accountSetting',
      meta: {
        title: '入账配置'
      }
    },
    // {
    //   path: 'mallSettlement',
    //   component: () => import('@/views/FaniManage/mallSettlement.vue'),
    //   name: 'mallSettlement',
    //   meta: {
    //     title: '商城结算配置'
    //   }
    // },
    {
      path: 'incomeQuery',
      component: () => import('@/views/FaniManage/incomeQuery.vue'),
      name: 'incomeQuery',
      meta: {
        title: '收益发放查询'
      }
    },
    {
      path: 'userWallQuery',
      component: () => import('@/views/FaniManage/userWallQuery.vue'),
      name: 'userWallQuery',
      meta: {
        title: '用户钱包查询'
      }
    },
    {
      path: 'comIncomeQuery',
      component: () => import('@/views/FaniManage/comIncomeQuery.vue'),
      name: 'comIncomeQuery',
      meta: {
        title: '公司收益查询'
      }
    },
  ]
}
export default faniManageRouter
